package thinkingJava.multiplex;

/**
 * Created by Administrator on 2017/7/10.
 */

class Art {
    public Art() {
        System.out.println("Art constructor");
    }
}

class Drawing extends Art{
    public Drawing() {
        System.out.println("Drawing constructor");
    }
}

public class Cartoon extends Drawing{

    public Cartoon() {
        System.out.println("Cartoon constructor");
    }

    public static void main(String[] args) {
//        new Cartoon();
        Cartoon cartoon = new Cartoon();
    }
}
